Skip to content

Conversation

eps1lon
Copy link
Member

@eps1lon eps1lon commented Mar 1, 2022

Failures are fixed with #1018

What:

Only use documented testing APIs

Why:

There's no explicit mention of "isomorphic act" landing with React 18 so let's just drop it's usage (react-dom/test-utils uses it anyway). Removing its usage simplifies code while also using less React internals.

How:

Drop usage of React.unstable_act

Checklist:

  • [ ] Documentation added to the
    docs site
  • [ ] Tests
  • [ ] TypeScript definitions updated
  • Ready to be merged

@eps1lon eps1lon marked this pull request as ready for review March 1, 2022 18:32
@eps1lon eps1lon merged commit 33cc72c into testing-library:alpha Mar 1, 2022
@eps1lon eps1lon deleted the chore/no-unstable-act branch March 1, 2022 18:32
@github-actions
Copy link

github-actions bot commented Mar 4, 2022

🎉 This PR is included in version 13.0.0-alpha.6 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant